package cn.wx.sentopen;

import cn.wx.domain.User;
import cn.wx.sentine.SentineBlock;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "user-server",fallbackFactory = UserFeignClientFallbackFactory.class)
public interface SentienlOpenfeign {

    @GetMapping("/get/{id}")
    public User getUser(@PathVariable Long id);


}
